﻿<%@ Control Language="C#" ClassName="respond" Inherits="Wedn.TemplateEngine.UC.Template" %>

<div id="respond_box">
    <div id="respond">
        <h3>发表评论</h3>
        <div class="cancel-comment-reply">
            <div id="real-avatar">
                <img alt="" src="http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=40" class="avatar avatar-40 photo avatar-default" height="40" width="40">
            </div>
            <small><a rel="nofollow" id="cancel-comment-reply-link" href="/MyPHP/wordpress/?p=1#respond" style="display: none;">点击这里取消回复。</a></small>
        </div>
        <form action="http://localhost/MyPHP/wordpress/wp-comments-post.php" method="post" id="commentform">
            <div id="comment-author-info">
                <p>
                    <input type="text" name="author" id="author" class="commenttext" value="" size="22" tabindex="1">
                    <label for="author">昵称 *</label>
                </p>
                <p>
                    <input type="text" name="email" id="email" class="commenttext" value="" size="22" tabindex="2">
                    <label for="email">邮箱 * <a id="Get_Gravatar" title="查看如何申请一个自己的Gravatar全球通用头像" target="_blank" href="http://www.weisay.com/blog/apply-gravatar.html">（教你设置自己的个性头像）</a></label>
                </p>
                <p>
                    <input type="text" name="url" id="url" class="commenttext" value="" size="22" tabindex="3">
                    <label for="url">网址</label>
                </p>
            </div>
            <!--<p><small><strong>XHTML:</strong> You can use these tags: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p>-->
            <div class="clear"></div>
            <p></p>
            <p>
                <textarea name="comment" id="comment" tabindex="4" cols="50" rows="5"></textarea><div id="loading" style="display: none;">正在提交, 请稍候...</div>
                <div id="error" style="display: none;">#</div>
            </p>
            <p>
                <input class="submit" name="submit" type="submit" id="submit" tabindex="5" value="提交留言">
                <input class="reset" name="reset" type="reset" id="reset" tabindex="6" value="重写">
                <input type="hidden" name="comment_post_ID" value="1" id="comment_post_ID">
                <input type="hidden" name="comment_parent" id="comment_parent" value="0">
            </p>
            <script type="text/javascript">	//Crel+Enter
                //<![CDATA[
                jQuery(document).keypress(function (e) {
                    if (e.ctrlKey && e.which == 13 || e.which == 10) {
                        jQuery(".submit").click();
                        document.body.focus();
                    } else if (e.shiftKey && e.which == 13 || e.which == 10) {
                        jQuery(".submit").click();
                    }
                })
                // ]]>
            </script>
            <span style="padding: 0 0 2px 8px">快捷键：Ctrl+Enter</span>
        </form>
        <div class="clear"></div>
    </div>
</div>
